from django.db import models

# Create your models here.
class myuser(models.Model):
    username = models.CharField(max_length=100)
    password = models.CharField(max_length=200)

class myplaybook(models.Model):
    name = models.CharField(max_length=100)
    invent = models.TextField()
    playyml = models.TextField()
    forks = models.CharField(max_length=10)
    proxy = models.CharField(max_length=100)

class mylog(models.Model):
    name = models.CharField(max_length=100)
    logpath = models.CharField(max_length=100, blank=True)
    proxy = models.CharField(max_length=100)
    writeresult = models.CharField(max_length=100, default='running')

class myansible(models.Model):
    name = models.CharField(max_length=100)
    invent = models.TextField()
    pattern = models.CharField(max_length=100)
    module = models.CharField(max_length=100)
    args = models.TextField()
    forks = models.CharField(max_length=10)
    proxy = models.CharField(max_length=100)